package com.smedi.ismedi.progress.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 工程报告周月报告本月施工计划与完成情况存放图片表Entity类
 *
 * @author PENGYAN
 * @date 2022/09/16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "engineering_completion_attachment_image")
public class EngineeringCompletionAttachmentImageEntity extends BasicFieldEntity implements Serializable {
    /**
     * 主表id
     */
    @TableId(type = IdType.AUTO)
    private Long	id;

    /**
     * 关联工程周月报告主表id
     */
    private Long engineeringConstructionCompletionId;

    /**
     * 附件key
     */
    private String signKey;
    /**
     * 创建用户的id
     */
    private Long	createdUserId;
    /**
     * 创建日期
     */
    private LocalDateTime	createdDate;
    /**
     * 最后更新时间
     */
    private LocalDateTime	latestUpdatedDate;
    /**
     * 最后更新的用户id
     */
    private Long	latestUpdatedUserId;
}